#region Copyright (c) 2003 - 2006 Toenda Software Development
/*
 * Copyright (c) 2003 - 2006 Toenda Software Development
 */
#endregion

using System;

namespace Toenda.Rails {
	namespace DataContainer {
		/// <summary>
		/// Class CommentItem
		/// </summary>
		[Serializable]
		public class CommentItem {
			private string m_id;
			private string m_imageid;
			private string m_comment;
			private DateTime m_date;
			private Account m_acc;

			/// <summary>
			/// Default constructor
			/// </summary>
			public CommentItem() {
				m_acc = new Account();
			}

			/// <summary>
			/// Get or set the id
			/// </summary>
			public string ID {
				get { return m_id; }
				set { m_id = value; }
			}

			/// <summary>
			/// Get or set the image id
			/// </summary>
			public string ImageID {
				get { return m_imageid; }
				set { m_imageid = value; }
			}

			/// <summary>
			/// Get or set the comment
			/// </summary>
			public string Comment {
				get { return m_comment; }
				set { m_comment = value; }
			}

			/// <summary>
			/// Get or set the date
			/// </summary>
			public DateTime Date {
				get { return m_date; }
				set { m_date = value; }
			}

			/// <summary>
			/// Get or set the user account
			/// </summary>
			public Account Author {
				get { return m_acc; }
				set { m_acc = value; }
			}
		}
	}
}
